<!--
  To change this template, choose Tools | Templates
  and open the template in the editor.
-->

<%@ page contentType="text/html;charset=UTF-8" %>

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Sample title</title>
  </head>
  <body>
    <h1>Read Wine Type</h1>
    
    ${flash.message}
    
    <br/><br/>
    <table>
        <tr>
          <th>Wine Type</th>
          <th>Description</th>
          <th></th>
        </tr>
    
        <g:each in="${wineTypes}" var="instance" status="s">
    
          <tr>
            <input type="hidden" name="id" value="${instance.id}" />
            <td>${instance.typeName}</td>
            <td>${instance.description}</td>
            <td><a href="http://localhost:8088/WineXpressClient/wineTypeUpdate?id=${instance.id}&typeName=${instance.typeName}&description=${instance.description}"/>Edit</td>
          </tr>
        
        </g:each>
    </table>
  </body>
</html>
